<?php

/**
 * Subclass for representing a row from the 'cms_categories' table.
 *
 * 
 *
 * @package lib.model
 */ 
class CmsCategories extends BaseCmsCategories
{
    public function getTotalCategoriesItem()
    {
        $c = new Criteria();
        $c->add(CmsProductPeer::CATEGORIES_ID, $this->getCategoriesId());
        return CmsProductPeer::doCount($c);
    }
}